.flex {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #666;
}
li {
  list-style: none;
}
@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot?qn6uhr');
  src: url('fonts/icomoon.eot?qn6uhr#iefix') format('embedded-opentype'), url('fonts/icomoon.ttf?qn6uhr') format('truetype'), url('fonts/icomoon.woff?qn6uhr') format('woff'), url('fonts/icomoon.svg?qn6uhr#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
body {
  margin: 0 auto;
  width: 100%;
  min-width: 11.8519rem;
  max-width: 20rem;
  background-color: #f2f2f2;
  font-size: 0.5556rem;
  border: 0.037rem solid #ccc;
  border-left: transparent;
  border-right: transparent;
}
nav {
  position: fixed;
  top: 0;
  display: flex;
  padding-left: 0.3704rem;
  width: 20rem;
  height: 1.6667rem;
  border: 0.037rem solid #ccc;
}
nav .nav-left {
  flex: 1;
  margin: 0.3704rem 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 0 5px;
  background-color: #fff;
  font-size: 0.4815rem;
}
nav .nav-left a {
  display: block;
  margin-top: 3px;
}
nav .nav-left a::before {
  margin: 0 0.1852rem;
  content: "\e900";
  font-family: 'icomoon';
}
nav .nav-right {
  padding-bottom: 2px;
  width: 1.6667rem;
  height: 1.6667rem;
  font-size: 0.4815rem;
  text-align: center;
}
nav .nav-right a::before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 0.9259rem;
  height: 0.9259rem;
  background: url(../images/sprite.png) no-repeat -2.1481rem -7.2222rem;
  background-size: 3.8519rem auto;
}
.focus {
  margin-top: 1.6667rem;
  width: 100%;
  height: 4.0741rem;
}
.focus .focus-img {
  width: 20rem;
  height: 4.0741rem;
}
.section1 {
  display: flex;
  margin-top: 0.1852rem;
  width: 100%;
  height: 2.4074rem;
  background-color: #fff;
}
.section1 li {
  flex: 1;
}
.section1 li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.4444rem;
}
.section1 li a span:first-child {
  margin-top: 0.2963rem;
  display: inline-block;
  width: 1.1111rem;
  height: 1.1111rem;
  background: url(../images/localnav_bg.png) no-repeat 0 -2.2222rem;
  background-size: 1.1111rem auto;
}
.section2 {
  margin-top: 0.1852rem;
  display: flex;
  width: 20rem;
  height: 3.3333rem;
  background: -webkit-linear-gradient(left, #fa5a56, #fa7353, #fa974d);
  font-size: 0.4815rem;
  color: white;
}
.section2 div {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.section2 div[class="section2-left"] {
  justify-content: center;
  align-items: center;
}
.section2 div[class="section2-left"] span:nth-child(2) {
  display: inline-block;
  width: 4.4815rem;
  height: 1.7037rem;
  background: url(../images/hotel.png) no-repeat;
  background-size: 4.4815rem auto;
}
.section2 div:nth-child(n+2) span {
  text-align: center;
  line-height: 1.6667rem;
  flex: 1;
  border: 0.037rem solid white;
}
.section3 {
  margin-top: 0.1852rem;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  font-size: 0.4444rem;
}
.section3 div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 4rem;
}
.section3 div a::before {
  content: "";
  display: block;
  width: 48px;
  height: 37px;
  background: url(../images/subnav-bg.png) no-repeat;
}
.active {
  margin-top: 0.1852rem;
  background-color: #fff;
}
.active .active-top {
  height: 1.6667rem;
  border-top: 0.037rem solid #f2f2f2;
  border-bottom: 0.037rem solid #f2f2f2;
}
.active .active-top .left {
  display: inline-block;
  margin: 0.1852rem 0 0 0.3704rem;
  width: 2.7037rem;
  height: 0.5926rem;
  vertical-align: middle;
  background: url(../images/hot.png) no-repeat -0.0741rem -0.7407rem;
  background-size: auto 2.1481rem;
}
.active .active-top .mid {
  margin-top: 0.1852rem;
  display: inline-block;
  height: 0.5926rem;
  width: 1.4815rem;
  background-color: #d9d9d9;
  color: #f7f7f7;
  line-height: 0.5926rem;
  text-align: center;
  font-size: 0.4444rem;
}
.active .active-top .right {
  margin: 0.1852rem 0.3704rem 0 0;
  float: right;
  width: 3.7037rem;
  height: 0.7407rem;
  border-radius: 0.1852rem;
  background: -webkit-linear-gradient(#ff516c, #ff5782, #ff6ac2);
  font-size: 0.5185rem;
  text-align: center;
  color: white;
}
.active .active-top .right::after {
  content: "\e903";
  font-family: 'icomoon';
}
.active .active-bottom-top {
  display: flex;
  width: 20rem;
  height: 7.037rem;
}
.active .active-bottom-top a {
  flex: 1;
}
.active .active-bottom-top a img {
  width: 100%;
  height: 100%;
}
.active .active-bottom-mid {
  display: flex;
  width: 20rem;
  height: 4.2593rem;
}
.active .active-bottom-mid a {
  flex: 1;
}
.active .active-bottom-mid a img {
  width: 100%;
  height: 100%;
}
.active .active-bottom-bottom {
  display: flex;
  width: 20rem;
  height: 4.2593rem;
}
.active .active-bottom-bottom a {
  flex: 1;
}
.active .active-bottom-bottom a img {
  width: 100%;
  height: 100%;
}
footer {
  display: flex;
  margin-top: 0.1852rem;
  height: 1.8519rem;
  background-color: #fff;
}
footer div:first-child span:first-child {
  display: inline-block;
  width: 0.7407rem;
  height: 0.7407rem;
  background: url(../images/sprite.png) no-repeat -2.1481rem -5.6667rem;
  background-size: 3.8519rem auto;
}
footer div:nth-child(2) span:first-child {
  display: inline-block;
  width: 0.7407rem;
  height: 0.7407rem;
  background: url(../images/sprite.png) no-repeat -2.1481rem -6.4444rem;
  background-size: 3.8519rem auto;
}
footer div:nth-child(3) span:first-child {
  display: inline-block;
  width: 0.7407rem;
  height: 0.7407rem;
  background: url(../images/sprite.png) no-repeat -2.1481rem -11.4444rem;
  background-size: 3.8519rem auto;
}
